<!doctype html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!-- Bootstrap -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/font.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/xadmin.css') }} ">

    <link rel="stylesheet" href="{{ url_for('static', filename='css/login.css') }} ">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
    <script src="{{ url_for('static', filename='lib/layui/layui.js') }} "></script>
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="login-bg">


<div class="login layui-anim layui-anim-up">
    <div class="title">任务清单系统注册</div>
    <div id="darkbannerwrap"></div>

    {% include 'flash.html' %}

    <form method="post" class="layui-form" action="{{ url_for('auth.register') }}">
        {{ form.hidden_tag() }}
        {{ form.email() }}
        <p class="error">{{ form.email.errors[0] }}</p>
        {#        <input name="username" placeholder="电子邮箱" type="text" lay-verify="required" class="layui-input">#}
        {#        <p class="error">失败</p>#}
        <hr class="hr15">


        {{ form.username() }}
        <p class="error">{{ form.username.errors[0] }}</p>
        {#        <input name="username" placeholder="用户名" type="text" lay-verify="required" class="layui-input">#}
        {#        <p class="error">用户登录失败</p>#}
        <hr class="hr15">


        {{ form.password() }}
        <p class="error">{{ form.password.errors[0] }}</p>
        {#        <input name="password" lay-verify="required" placeholder="密码" type="password" class="layui-input">#}
        {#        <p class="error"> 密码失败</p>#}
        <hr class="hr15">

        {{ form.repassword() }}
        <p class="error">{{ form.repassword.errors[0] }}</p>
        {#        <input name="password" lay-verify="required" placeholder="确认密码" type="password" class="layui-input">#}
        {#        <p class="error"> 确认失败</p>#}
        <hr class="hr15">

        {{ form.submit() }}
        {#        <input value="登录" lay-submit lay-filter="login" style="width:100%;" type="submit">#}
        <hr class="hr20">
    </form>
</div>


</body>
</html>
